//
//  NSMapTable+RAC.h
//  高仿暴走斗图
//
//  Created by key on 16/9/23.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSMapTable (RAC)

/**
 *  rac遍历MapTable
 *
 *  @return MapTable元素
 */
- (RACSignal *)rac_traverseMapTable;

/**
 *  rac遍历MapTable
 *
 *  @param next      MapTable的key和value
 *  @param completed 遍历结束后的回调
 */
- (void)rac_traverseMapTableForSubscribeNext:(void(^)(id key, id value))next traverseCompleted:(void(^)())completed;

@end
